package org.jeecg.modules.demo.logics.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 包裹表
 * @Author: jeecg-boot
 * @Date:   2021-12-16
 * @Version: V1.0
 */
@Data
@TableName("package_info")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="package_info对象", description="包裹表")
public class PackageInfo implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private java.lang.String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private java.lang.String sysOrgCode;
	/**订单号*/
	@Excel(name = "订单号", width = 15)
    @ApiModelProperty(value = "订单号")
    private java.lang.String transitNum;
	/**收件人姓名*/
	@Excel(name = "收件人姓名", width = 15)
    @ApiModelProperty(value = "收件人姓名")
    private java.lang.String sendeeName;
	/**收件人电话*/
	@Excel(name = "收件人电话", width = 15)
    @ApiModelProperty(value = "收件人电话")
    private java.lang.String sendeetelePhone;
	/**收件人地址*/
	@Excel(name = "收件人地址", width = 15)
    @ApiModelProperty(value = "收件人地址")
    private java.lang.String sendeeAddress;
	/**寄件人姓名*/
	@Excel(name = "寄件人姓名", width = 15)
    @ApiModelProperty(value = "寄件人姓名")
    private java.lang.String senderName;
	/**寄件人电话*/
	@Excel(name = "寄件人电话", width = 15)
    @ApiModelProperty(value = "寄件人电话")
    private java.lang.String senderTelephone;
	/**寄件人地址*/
	@Excel(name = "寄件人地址", width = 15)
    @ApiModelProperty(value = "寄件人地址")
    private java.lang.String senderAddress;
	/**包裹重量(kg)*/
	@Excel(name = "包裹重量(kg)", width = 15)
    @ApiModelProperty(value = "包裹重量(kg)")
    private java.lang.String weight;
	/**包裹类型*/
	@Excel(name = "包裹类型", width = 15, dicCode = "pkg_type")
	@Dict(dicCode = "pkg_type")
    @ApiModelProperty(value = "包裹类型")
    private java.lang.String type;
	/**所在仓库*/
	@Excel(name = "所在仓库", width = 15, dictTable = "storage", dicText = "name", dicCode = "id")
	@Dict(dictTable = "storage", dicText = "name", dicCode = "id")
    @ApiModelProperty(value = "所在仓库")
    private java.lang.String storageName;
	/**状态*/
	@Excel(name = "状态", width = 15, dicCode = "pkg_status")
	@Dict(dicCode = "pkg_status")
    @ApiModelProperty(value = "状态")
    private java.lang.String status;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private java.lang.String remark;
}
